
 
void CQ_go_nogo_autoSwitch(int odorType, int laserORnot, int sessionOneLaser, int trialInSesion, int go_odor, int nogo_odor, float odorLen, float delay, float waterlen, int ITI);
void goPlusnogo(int sessionOneLaser, int goORnogo_odor, int go_odor, int nogo_odor, float odorLen, float delay, float waterlen, int ITI, int odorlaseryes, int delaylaseryes, int waterlaseryes, int ITIlaseryes, int reversal, int sessionNum);

int TwoOdorJudger(int Odor1,int Odor2,int rule);
void TwoOdorResponseWithTwoTrigger(int Odor1,int Odor1BNC,float FirstOdorStart, float FirstOdorEnd,int Odor2,int Odor2BNC,float SecondOdorStart, float SecondOdorEnd,int WaterBNC,float WaterStart,float WaterEnd, float WholeLen,int Trigger1,float Trigger1Start,float Trigger1End,int Trigger2,float Trigger2Start,float Trigger2End,int rule, int SOneLaserSwitchOrnot, int RuleSwitch,int LaserPeriod);
void CQ_Match_Nonmatch_autoSwitch(int rule, int LaserPeriod,int TrialLenType, int SOneLaserSwitchOrnot,int OdorPairSelection,int shapingOrTraining,  int Odor1, int Odor2, float odorLen, float delay1,float delay2, float waterlen, float ITI, int TrialNuminSession,int Odor3, int  Odor4 );

int CQ_OneOdorJudger(int Odor, int Rule) ;
void CQ_OneOdorResponseWithTwoTrigger(int reversal, int sessionNum, int SOneLaserReverseOrnot,int Odor,float odorLen,float delay,float waterlen, float ITI,int odorlaseryes, int delaylaseryes, int waterlaseryes, int ITIlaseryes,int rule) ;
void CQ_AutoGoNogoTask(int rule, int LaserPeriod, int SOneLaserReverseOrnot, int Odor1,int Odor2,float odorLen,float delay,float waterlen, float ITI,int TrialNuminSession,int SessionNum);